.timer-bg {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}

.restart-btn {
	margin: 0;
	margin-left: 10px;
	padding: 5px 20px;
	background: linear-gradient(135deg, #ff6b6b, #ee5a24);
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.timer-display {
	font-size: 20px;
	font-weight: bold;
	color: #666;
	background: rgba(255, 255, 255, 0.8);
	padding: 10px 20px;
	border-radius: 50px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bubbles-container {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	row-gap: 20px;
}

.bubble {
	margin: auto;
	width: 175rpx;
	height: 175rpx;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	box-shadow:
		0 10px 20px rgba(0, 0, 0, 0.2),
		inset 0 -5px 10px rgba(0, 0, 0, 0.1),
		inset 0 5px 10px rgba(255, 255, 255, 0.3);
	transform: translateY(0) scale(1);
}

.bubble::before {
	content: '';
	position: absolute;
	top: 20%;
	left: 20%;
	width: 20%;
	height: 20%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	filter: blur(2px);
}

.bubble.selected {
	transform: scale(1.1);
	box-shadow:
		0 0 0 3px #fff,
		0 15px 30px rgba(0, 0, 0, 0.3);
}

.bubble.matched {
	opacity: 0;
	transform: scale(0);
	pointer-events: none;
}

.character {
	text-align: center;
	font-size: 16px;
	font-weight: 900;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.pinyin {
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.completion-message {
	margin-top: 50px;
	animation: bounceIn 1s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

.cup-bg{
	margin-top: 40rpx;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cup-image{
	width: 100rpx;
	height: 100rpx;
}

.fireworks{
	width: 50rpx;
	height: 50rpx;
}

.record{
	margin-top: 30rpx;
	text-align: center;
	color: #ff5000;
	font-weight: 18px;
}

.completion-text {
	margin: 10rpx 10rpx 0;
	text-align: center;
	color: #4CAF50;
	font-size: 28px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.play-again-btn {
	display: inline-block;
	background: linear-gradient(135deg, #4CAF50, #45B7D1);
	color: white;
	border: none;
	padding: 0px 30px;
	border-radius: 50px;
	font-size: 20px;
	font-weight: bold;
	margin-top: 20px;
	margin-left: 50%;
	transform: translateX(-50%);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.tip {
	padding: 50rpx 0;
	display: flex;
	align-items: center;
	flex-direction: column;
	color: #bda79e;
	font-style: italic;
	font-size: 14px;
}